package com.angenela.imageshare.pojo;

import java.util.List;

public class StartAndImageId {
    private List<UserImageId> data;
    private Integer code;
    private String message;

    @Override
    public String toString() {
        return "StartAndImageId{" +
                "data=" + data +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }

    public List<UserImageId> getData() {
        return data;
    }

    public void setData(List<UserImageId> data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }


    public static class UserImageId{
        private Integer imageId;
        private  String src;
        private String createTime;
        private Integer star;
        private Integer tagId;
        private Integer userId;
        private String username;
        private String avatar;


        public  Integer getImageId(){
            return imageId;
       }

       public void setImageId(Integer imageId) {
           this.imageId = imageId;
       }

        public String getSrc() {
            return src;
        }

        public void setSrc(String src) {
            this.src = src;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Integer getStar() {
            return star;
        }

        public void setStar(Integer star) {
            this.star = star;
        }

        public Integer getTagId() {
            return tagId;
        }

        public void setTagId(Integer tagId) {
            this.tagId = tagId;
        }

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        @Override
        public String toString() {
            return "UserImageId{" +
                    "imageId=" + imageId +
                    ", src='" + src + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", star=" + star +
                    ", tagId=" + tagId +
                    ", userId=" + userId +
                    ", username='" + username + '\'' +
                    ", avatar='" + avatar + '\'' +
                    '}';
        }
    }
}
